package cn.lanqiao.service.impl;


import cn.lanqiao.entiy.Project;
import cn.lanqiao.service.ProjectService;

public class ProjectServiveImpl implements ProjectService {
    cn.lanqiao.dao.ProjectDao dao=new cn.lanqiao.dao.impl.ProjectDaoImpl();
	@Override
	public Object[][] getAllProjects() {
		
		return dao.listProjectData();
		
	}

	@Override
	public Project getdatas(Project pname) {
		
		return dao.getdatas(pname);
	}

	@Override
	public int count() {
		 
		return dao.count();
	}

	@Override
	public int addProjectData(Project project) {
		 
		return dao.addProjectData(project);
	}

	@Override
	public int deleteProjectData(Project project) {
		 
		return dao.deleteProjectData(project);
	}

	@Override
	public int UpdateProjecttata(Project project) {
		 
		return dao.UpdateProjecttata(project);
	}

}
